import http from '@/utils/http'


/** @desc 获取用户列表 */
export function getUserList(data) {
  return http.get('manager/user/index_user', data)
}

/** @desc 添加用户 */
export function addUserList(data) {
  return http.post('manager/user/add_user', data)
}

/** @desc 编辑用户 */
export function editUserList(data) {
  return http.post('manager/user/edit_user', data)
}

/** @desc 获取用户详情 */
export function getUserDetail(data) {
  return http.post('manager/user/getUserInfo', data)
}

/** @desc 删除用户 */
export function deleteUser(data) {
  return http.post('manager/user/delete_user', data)
}
